package controllers;

import models.Administrador;
import play.*;
import play.data.Form;
import play.mvc.*;

import views.html.*;

public class Application extends Controller {

    public static Result index() {
        return redirect(controllers.routes.Application.login());
    }

    /* login para administrador */
    public static Result login(){
        return ok(views.html.login.render());
    }

    Form<Administrador> administradorForm = Form.form(Administrador.class);

    /* tela de usuario */
    public static Result usuario(){
        return ok("Tela de usuario");
    }
}
